package com.shiyingzi.product.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shiyingzi.product.dao.AppBOccupationalDao;
import com.shiyingzi.product.dao.AppHPolicyInformationDao;
import com.shiyingzi.product.model.AppBOccupational;
import com.shiyingzi.product.model.AppHPolicyInformation;
import com.shiyingzi.product.service.AppBOccupationalService;
import com.shiyingzi.product.service.AppHPolicyInformationService;



@Service(AppHPolicyInformationService.BEAN_ID)
public class AppHPolicyInformationServiceImpl implements AppHPolicyInformationService{

	@Autowired
	private AppHPolicyInformationDao appHPolicyInformationDao;
	@Override
	public AppHPolicyInformation addAppHPolicyInformation(AppHPolicyInformation code) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public AppHPolicyInformation getProductByAppAId(Integer appAId) {
		AppHPolicyInformation app = new AppHPolicyInformation();
		app.setAppAId(appAId);
		AppHPolicyInformation ahpi=appHPolicyInformationDao.selectOne(app);
		return ahpi;
	}

}
